// import router from '@/router'

import router from "../router"

export const push = (path = '/', query = {}) => {
  let queryClone = { ...query }
  router.push({
    path,
    query: queryClone,
  })
}

export const getImageUrl = (imgName) => {
  return new URL(`../assets/images/${imgName}`, import.meta.url).href
}


  